using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using ADIGRE.Domain;

namespace ADIGRE.Web.Mvc.Models
{
    public class ADIGREWebMvcContext : DbContext
    {
        // You can add custom code to this file. Changes will not be overwritten.
        // 
        // If you want Entity Framework to drop and regenerate your database
        // automatically whenever you change your root schema, add the following
        // code to the Application_Start method in your Global.asax file.
        // Note: this will destroy and re-create your database with every root change.
        // 
         //System.Data.Entity.Database.SetInitializer(new System.Data.Entity.DropCreateDatabaseIfModelChanges<ADIGRE.Web.Mvc.Models.ADIGREWebMvcContext>());


        public DbSet<Caixa> Contas { get; set; }
        public DbSet<Despesa> Despesas { get; set; }
        public DbSet<Dizimo> Dizimos { get; set; }
        public DbSet<Evento> Eventos { get; set; }
        public DbSet<Lancamento> Lancamentos { get; set; }
        public DbSet<LogAcesso> LogAcessos { get; set; }
        //public DbSet<LogAuditoria> LogAuditorias { get; set; }
        public DbSet<Membro> Membros { get; set; }
        public DbSet<Oferta> Ofertas { get; set; }
        public DbSet<OfertaEspecial> OfertasEspeciais { get; set; }
        public DbSet<OutrasEntradas> OutrasEntradas { get; set; }
        public DbSet<Pagamento> Pagamentos { get; set; }
        public DbSet<PerfilAcesso> PerfisAcesso { get; set; }
        public DbSet<Pessoa> Pessoas { get; set; }
        public DbSet<Receita> Receitas { get; set; }
        public DbSet<Recibo> Recibos { get; set; }
        public DbSet<Usuario> Usuarios { get; set; }
        
    }
}